<% content_tag :div, :class => 'smallwrapper' do -%>
		<% content_tag :div, :class => 'header' do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_51.png', :class => 'hleft' %>
			<%= content_tag :span, 'Home',:class => 'hleft' %>
			<% content_tag :span, :class => 'headertext' do -%>
				<%= content_tag :strong, 'Welcome to Sparktools!' -%>
				<%= content_tag :p, "Sparktools.com is a web application that helps student organization leaders manage <a href='/projects'>projects</a>, <a href='/finances'>finances</a>, and <a href='/contacts'>contacts</a> while creating a <a href='/history'>history</a> for future organization leaders to reference. Hi mom" -%>
			<% end -%>
		<% end -%>
		<%= content_tag :div,'Recents' ,:class => 'hleft'-%>
		<% content_tag :div, :class => 'hright' do -%>
			<% form_for :viewoptions, :html => { :id => 'viewoptions' } do |f| -%>
				<%= content_tag :span, 'recent items to show: ' -%>
				<%= f.select :length, [["10",10],["20",20],["40",40]], {:selected => current_user.pref1.to_i} -%>
			<%- end -%>
			<%= observe_form 'viewoptions', :url => { :action => "news" } , :frequency => 0.5 , :update => "gi2-news" -%>
		<% end -%>
		<% content_tag :div, :id => 'gi2-news' do -%>
			<%= render_component :action => 'news' -%>
		<% end -%> 
<% end -%>